<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: credentialBase类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../d7/d8c/classcredential_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">credentialBase类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>HTTP授权用户接口  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d4/d77/credential_8hpp_source.html">credential.hpp</a>&gt;</code></p>
<div class="dynheader">
credentialBase 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/dbf/classcredential_base__coll__graph.png" border="0" usemap="#acredential_base_coll__map" alt="Collaboration graph"/></div>
<map name="acredential_base_coll__map" id="acredential_base_coll__map">
<area shape="rect" title="HTTP授权用户接口" alt="" coords="5,5,188,197"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:abea84f2811b35250f603c06751007bd9" id="r_abea84f2811b35250f603c06751007bd9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abea84f2811b35250f603c06751007bd9">emButtonType</a> { <a class="el" href="#abea84f2811b35250f603c06751007bd9a9bd3e8ac5187e45f775165043519cdcd">OK</a>
, <a class="el" href="#abea84f2811b35250f603c06751007bd9aee2141bcb5506bbe1e5b2e901d51cb5c">CANCEL</a>
 }</td></tr>
<tr class="separator:abea84f2811b35250f603c06751007bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a9ea5440c644c8c603bbfde4955e841b1" id="r_a9ea5440c644c8c603bbfde4955e841b1"><td class="memItemLeft" align="right" valign="top">virtual enum <a class="el" href="#abea84f2811b35250f603c06751007bd9">emButtonType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9ea5440c644c8c603bbfde4955e841b1">run</a> ()=0</td></tr>
<tr class="memdesc:a9ea5440c644c8c603bbfde4955e841b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动运行，一般可以弹出对话框输入  <br /></td></tr>
<tr class="separator:a9ea5440c644c8c603bbfde4955e841b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0da32b1e214f269576f6360a7b2a4dd" id="r_af0da32b1e214f269576f6360a7b2a4dd"><td class="memItemLeft" align="right" valign="top">virtual enum <a class="el" href="#abea84f2811b35250f603c06751007bd9">emButtonType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af0da32b1e214f269576f6360a7b2a4dd">run</a> (const std::string &amp;info)=0</td></tr>
<tr class="separator:af0da32b1e214f269576f6360a7b2a4dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae809d239d3e4d853f7121f12258e5a0f" id="r_ae809d239d3e4d853f7121f12258e5a0f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae809d239d3e4d853f7121f12258e5a0f">get</a> (std::string &amp;usr, std::string &amp;pswd)=0</td></tr>
<tr class="memdesc:ae809d239d3e4d853f7121f12258e5a0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取授权信息  <br /></td></tr>
<tr class="separator:ae809d239d3e4d853f7121f12258e5a0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>HTTP授权用户接口 </p>
<dl class="section version"><dt>版本</dt><dd>1.0 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2017-10-20 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d4/d77/credential_8hpp_source.html">credential.hpp</a> 第 <a class="el" href="../../d4/d77/credential_8hpp_source.html#l00012">12</a> 行定义.</p>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="abea84f2811b35250f603c06751007bd9" name="abea84f2811b35250f603c06751007bd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abea84f2811b35250f603c06751007bd9">&#9670;&#160;</a></span>emButtonType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="#abea84f2811b35250f603c06751007bd9">credentialBase::emButtonType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="abea84f2811b35250f603c06751007bd9a9bd3e8ac5187e45f775165043519cdcd" name="abea84f2811b35250f603c06751007bd9a9bd3e8ac5187e45f775165043519cdcd"></a>OK&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="abea84f2811b35250f603c06751007bd9aee2141bcb5506bbe1e5b2e901d51cb5c" name="abea84f2811b35250f603c06751007bd9aee2141bcb5506bbe1e5b2e901d51cb5c"></a>CANCEL&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="../../d4/d77/credential_8hpp_source.html">credential.hpp</a> 第 <a class="el" href="../../d4/d77/credential_8hpp_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ae809d239d3e4d853f7121f12258e5a0f" name="ae809d239d3e4d853f7121f12258e5a0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae809d239d3e4d853f7121f12258e5a0f">&#9670;&#160;</a></span>get()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void credentialBase::get </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>usr</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>pswd</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>读取授权信息 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">info[O]</td><td></td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/d7e/classcredential_base_ae809d239d3e4d853f7121f12258e5a0f_icgraph.png" border="0" usemap="#ad1/d7e/classcredential_base_ae809d239d3e4d853f7121f12258e5a0f_icgraph" alt=""/></div>
<map name="ad1/d7e/classcredential_base_ae809d239d3e4d853f7121f12258e5a0f_icgraph" id="ad1/d7e/classcredential_base_ae809d239d3e4d853f7121f12258e5a0f_icgraph">
<area shape="rect" title="读取授权信息" alt="" coords="270,35,403,61"/>
<area shape="rect" href="../../dd/d69/class_c_cef_hander.html#a4a72264a203c6d493bd9a824c7388791" title=" " alt="" coords="5,5,222,32"/>
<area shape="poly" title=" " alt="" coords="254,40,219,35,220,30,255,35"/>
<area shape="rect" href="../../dd/d69/class_c_cef_hander.html#a6cfd8f26ec98ec7525787032ed43b76f" title=" " alt="" coords="18,56,209,99"/>
<area shape="poly" title=" " alt="" coords="255,61,209,67,209,62,254,56"/>
</map>
</div>

</div>
</div>
<a id="a9ea5440c644c8c603bbfde4955e841b1" name="a9ea5440c644c8c603bbfde4955e841b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ea5440c644c8c603bbfde4955e841b1">&#9670;&#160;</a></span>run() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual enum <a class="el" href="#abea84f2811b35250f603c06751007bd9">emButtonType</a> credentialBase::run </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>启动运行，一般可以弹出对话框输入 </p>
<dl class="section return"><dt>返回</dt><dd>如果用户点击OK按钮返回OK ，否则返回CANCEL </dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/d7e/classcredential_base_a9ea5440c644c8c603bbfde4955e841b1_icgraph.png" border="0" usemap="#ad1/d7e/classcredential_base_a9ea5440c644c8c603bbfde4955e841b1_icgraph" alt=""/></div>
<map name="ad1/d7e/classcredential_base_a9ea5440c644c8c603bbfde4955e841b1_icgraph" id="ad1/d7e/classcredential_base_a9ea5440c644c8c603bbfde4955e841b1_icgraph">
<area shape="rect" title="启动运行，一般可以弹出对话框输入" alt="" coords="270,35,403,61"/>
<area shape="rect" href="../../dd/d69/class_c_cef_hander.html#a4a72264a203c6d493bd9a824c7388791" title=" " alt="" coords="5,5,222,32"/>
<area shape="poly" title=" " alt="" coords="254,40,219,35,220,30,255,35"/>
<area shape="rect" href="../../dd/d69/class_c_cef_hander.html#a6cfd8f26ec98ec7525787032ed43b76f" title=" " alt="" coords="18,56,209,99"/>
<area shape="poly" title=" " alt="" coords="255,61,209,67,209,62,254,56"/>
</map>
</div>

</div>
</div>
<a id="af0da32b1e214f269576f6360a7b2a4dd" name="af0da32b1e214f269576f6360a7b2a4dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0da32b1e214f269576f6360a7b2a4dd">&#9670;&#160;</a></span>run() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual enum <a class="el" href="#abea84f2811b35250f603c06751007bd9">emButtonType</a> credentialBase::run </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>info</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/cefQT/<a class="el" href="../../d4/d77/credential_8hpp_source.html">credential.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
